package com.ruoyi.bms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 书籍信息对象 bms_books
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public class BmsBooks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 书籍编号 */
    private Long id;

    /** 书名 */
    @Excel(name = "书名")
    private String bookName;

    /** 书籍描述 */
    @Excel(name = "书籍描述")
    private String bookDescription;

    /** 书籍类型 */
    @Excel(name = "书籍类型")
    private String bookType;

    /** 书籍图片 */
    @Excel(name = "书籍图片")
    private String bookImg;

    /** 书籍内容 */
    @Excel(name = "书籍内容")
    private String content;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 出版社 */
    @Excel(name = "出版社")
    private String publication;

    /** 书籍状态(0:待审核 1:已审核 2:审核未通过) */
    @Excel(name = "书籍状态(0:待审核 1:已审核 2:审核未通过)")
    private String bookStatus;

    /** 是否可见(1:可见 2:不可见) */
    @Excel(name = "是否可见(1:可见 2:不可见)")
    private Long isvisible;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookDescription(String bookDescription) 
    {
        this.bookDescription = bookDescription;
    }

    public String getBookDescription() 
    {
        return bookDescription;
    }
    public void setBookType(String bookType) 
    {
        this.bookType = bookType;
    }

    public String getBookType() 
    {
        return bookType;
    }
    public void setBookImg(String bookImg) 
    {
        this.bookImg = bookImg;
    }

    public String getBookImg() 
    {
        return bookImg;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setPublication(String publication) 
    {
        this.publication = publication;
    }

    public String getPublication() 
    {
        return publication;
    }
    public void setBookStatus(String bookStatus) 
    {
        this.bookStatus = bookStatus;
    }

    public String getBookStatus() 
    {
        return bookStatus;
    }
    public void setIsvisible(Long isvisible) 
    {
        this.isvisible = isvisible;
    }

    public Long getIsvisible() 
    {
        return isvisible;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookName", getBookName())
            .append("bookDescription", getBookDescription())
            .append("bookType", getBookType())
            .append("bookImg", getBookImg())
            .append("content", getContent())
            .append("author", getAuthor())
            .append("publication", getPublication())
            .append("bookStatus", getBookStatus())
            .append("isvisible", getIsvisible())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
